package com.cy.personer.mapper;

import com.cy.personer.bean.Role;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RoleMapper {

     public List<Role>query();
     public  boolean add(Role role);
     public boolean update(Role role);
     public boolean del(int roleId);

     /**
      * 分页查询
      * @author whl
      */
     public List<Role>quer();
}
